﻿using Esri.ArcGISRuntime.Symbology;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace WRJClient.UI.Map
{
    public class BaseSymbolInfo
    {
        public string ClassName { get; set; }
        public string TypeName { get; set; }
        public string Type { get; set; }
        public string Status { get; set; }
        public string LayerName { get; set; }
    }
    public class LineSymbolInfo : BaseSymbolInfo
    {
        public Color BorderColor { get; set; }
        public double BorderWidth { get; set; }
        public SimpleLineSymbolStyle BorderStyle { get; set; }
    }
    public class FillSymbolInfo : BaseSymbolInfo
    {
        public Color BorderColor { get; set; }
        public double BorderWidth { get; set; }
        public SimpleLineSymbolStyle BorderStyle { get; set; }
        public Color FillColor { get; set; }
        public SimpleFillSymbolStyle FillStyle { get; set; }
    }
    public class PictureMarkerSymbolInfo : BaseSymbolInfo
    {
        public string FileName { get; set; }
        public double OffsetX { get; set; }
        public double OffsetY { get; set; }
        public double Angle { get; set; }
    }
    public class TextSymbolInfo : BaseSymbolInfo
    {
        public Color Color { get; set; }
        public FontWeight FontWeight { get; set; }
        public double Size { get; set; }
        public Color HaloColor { get; set; }
        public double HaloWidth { get; set; }
        public double OffsetX { get; set; }
        public double OffsetY { get; set; }
    }
}
